#include <S32FILE.H>
#include <MrLockUi.rsg>

#include "HWRMLight.h"
#include "Settings.h"
#include "Utils.h"
#include "Application.h"
#include "Logger.h"
#include "AppUi.h"

void TMyIntArray::SaveArrayL(CDictionaryStore* aIniFile, TInt aSettingId)
{
	RDictionaryWriteStream stream;
	
	stream.AssignLC(*aIniFile, TUid::Uid(aSettingId));//+stream
	stream.WriteInt16L(iCount);
	
	for (TInt i = 0;i < iCount;i++)
	{
		stream.WriteUint32L(iData[i]);
	}
	stream.CommitL();
	CleanupStack::PopAndDestroy(); //-stream
	aIniFile->CommitL();
}
